import request from "@/utils/request.js"
export function getMyCollection(data) {
    return request.Request({
        url: '/bkzs/collectCircle/myCollect',
        method: 'GET',
        data
    });
}
// 添加收藏
export function addCollection(data) {
    return request.Request({
        url: '/bkzs/collectCircle/addMyCollect',
        method: 'POST',
        data
    });
}
// 取消收藏
export function cancelCollection(data) {
    return request.Request({
        url: '/bkzs/collectCircle/deleteMyCollect?id='+data.id,
        method: 'DELETE',
    });
}
// 收藏排序
export function collectionSort(data) {
    return request.Request({
        url: '/bkzs/collectCircle/changeMyCollectPriority',
        method: 'PUT',
        data
    });
}

